package com.sf.dlb.jpa.repository;

import com.sf.dlb.jpa.model.UserRealInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 用户实名认证 Repository
 *
 * Created by jing.tan on 2018/12/10.
 */
@Repository
public interface UserRealInfoRepository extends JpaRepository<UserRealInfo, Long> {

    /**
     * 根据用户ID查询
     * @return
     */
    UserRealInfo findByUserIdAndDelFlag(String userId, String delFlag);
}